package com.estate.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.House;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface HouseService extends IService<House> {
    JsonResult findById(String id);

    JsonResult listByPage(int page, int size);

    JsonResult addHouse(House house);

    JsonResult updateHouse(House house);

    JsonResult deleteHouse(String id);
}
